package cn.edu.neusoft.yuejian.service;

import java.util.List;

import cn.edu.neusoft.yuejian.bean.activity;
import cn.edu.neusoft.yuejian.bean.contest;
import cn.edu.neusoft.yuejian.bean.master;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/9/25.
 */

public interface syservice {
    @GET("workout/api.php/lists/mod/activity")
    Call<List<activity>>getactivitylist();

    @GET("workout/api.php/get/mod/activity")
    Call<activity>getactivitybyId(
            @Query("id") String id
    );

    @GET("workout/api.php/lists/mod/master")
    Call<List<master>>getmasterlist();
    @GET("workout/api.php/lists/mod/contest")
    Call<List<contest>>getcontestlist();
}
